package cn.itsource.ymcc.dto;

import lombok.Data;
import javax.validation.constraints.NotBlank;

/**
 * 用于接收登录用户的信息*/
@Data
public class LoginDto {
    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotBlank(message = "密码不能为空")
    private String password;
    private Integer type;
}
